package com.ibeetl.admin.core.entity;

import java.util.Date;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Null;

import org.beetl.sql.core.annotatoin.AutoID;
import org.beetl.sql.core.annotatoin.SeqID;

import com.ibeetl.admin.core.util.ValidateConfig;

import org.beetl.sql.core.TailBean;
import java.math.*;

import com.ibeetl.admin.core.annotation.Dict;
import com.ibeetl.admin.core.entity.BaseEntity;

import org.beetl.sql.core.annotatoin.InsertIgnore;
import org.beetl.sql.core.annotatoin.Version;
import org.beetl.sql.core.annotatoin.LogicDelete;


/* 
* 
* gen by Spring Boot2 Admin 2020-11-14
*/
public class CoreLog extends BaseEntity{

    @NotNull(message = "ID不能为空", groups =ValidateConfig.UPDATE.class)
    @SeqID(name = ORACLE_CORE_SEQ_NAME)
    @AutoID	

    private Integer id ;
	

    private Long articleId ;
	

    private Date createTime ;
	
    //IP地址

    private String ip ;
	
    //点赞类型，可以为空

    private String type ;
	
    //对应的用户

    private Integer userId ;
	
    public CoreLog(){
    }

    public Integer getId(){
        return  id;
    }
    public void setId(Integer id){
        this.id = id;
    }

    public Long getArticleId(){
        return  articleId;
    }
    public void setArticleId(Long articleId){
        this.articleId = articleId;
    }

    public Date getCreateTime(){
        return  createTime;
    }
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }

    /**IP地址
    *@return 
    */
    public String getIp(){
        return  ip;
    }
    /**IP地址
    *@param  ip
    */
    public void setIp(String ip){
        this.ip = ip;
    }

    /**点赞类型，可以为空
    *@return 
    */
    public String getType(){
        return  type;
    }
    /**点赞类型，可以为空
    *@param  type
    */
    public void setType(String type){
        this.type = type;
    }

    /**对应的用户
    *@return 
    */
    public Integer getUserId(){
        return  userId;
    }
    /**对应的用户
    *@param  userId
    */
    public void setUserId(Integer userId){
        this.userId = userId;
    }


}
